<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>订单中心_订单详情</title>
    <script type="text/javascript" src="__PUBLIC__/Js/home/jquery-1.11.3.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Js/layer/layer.js"></script>
    <script>
        //要写在user_common.js调用之前     因tp框架中定义的常量，在外部调用的js中不能被解析
        var tp_defined = {'url': '__URL__'};
    </script>
    <script type="text/javascript" src="__PUBLIC__/Js/home/user_common.js"></script>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/user_common.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/home/user_main_left.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Home/order.css">
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/Home/orderDetail.css">
</head>
<body>
<!--引入页面头部-->
<include file="Common/header"/>
<!--网页主体-->
<div class="cort">
    <div class="tobuy cmain">
        <div class="cmain mb_back">
            <div class="zbk_top spalid">
                <span>您当前的位置：</span>
                <span><a href="__MODULE__/Index/index" target="_top">Darry Ring</a></span>
                <span><em>&gt;</em></span>
                <span><a href="__MODULE__/User/index" target="_top">我的DR</a></span>
                <span><em>&gt;</em></span>
                <span><a href="__MODULE__/User/order" target="_top">我的订单</a></span>
                <span><em>&gt;</em></span>
                <span>订单详情</span>
            </div>
            <div class="member_cort">
                <!--引入左导航栏-->
                <include file="Common/user_main_left"/>
                <!--右边的主要内容-->
                <div class="member_cort-right fr">
                    <!--我的订单详情-->
                    <table class="member_order_detail">
                        <tr>
                            <td class="hint">订单编号：</td>
                            <td class="content">{$order_data['id']}</td>
                        </tr>
                        <tr>
                            <td class="hint">联系人：</td>
                            <td class="content">{$order_data['linkman']}</td>
                        </tr>
                        <tr>
                            <td class="hint">联系地址：</td>
                            <td class="content">{$order_data['address']}</td>
                        </tr>
                        <tr>
                            <td class="hint">联系电话：</td>
                            <td class="content">{$order_data['phone']}</td>
                        </tr>
                        <tr>
                            <td class="hint">邮编：</td>
                            <td class="content">{$order_data['code']}</td>
                        </tr>
                        <tr>
                            <td class="hint">订单时间：</td>
                            <td class="content">{$order_data['addtime']}</td>
                        </tr>
                        <tr>
                            <td class="hint">备注信息：</td>
                            <td class="content">{$order_data['note']}</td>
                        </tr>
                        <tr>
                            <td class="hint">总金额：</td>
                            <td class="content">￥{$order_data['total']}</td>
                        </tr>
                        <tr>
                            <td class="hint">商品信息：</td>
                            <td class="content">
                                <table class="goods">
                                    <tr>
                                        <th>系列</th>
                                        <th>商品</th>
                                        <th>材质</th>
                                        <th>重量</th>
                                        <!--<th>手寸</th>
                                        <th>刻字</th>-->
                                        <th>单价(￥)</th>
                                        <th>数量</th>
                                        <th>颜色</th>
                                        <th>净度</th>
                                        <th>切工</th>
                                        <th>抛光</th>
                                        <th>对称</th>
                                        <th>荧光</th>
                                    </tr>
                                    <foreach name="order_detail_data" item="v">
                                        <tr>
                                            <th><a href="__MODULE__/Goods/index/type_id/{$v['type_id']}">{$v['type_name']}</a></th>
                                            <th><a href="__MODULE__/Goods/details/id/{$v['goods_detail_id']}">{$v['style']}{$v['goods_name']}</a></th>
                                            <th>
                                                <switch name="v['material']">
                                                    <case value="0">白18K金</case>
                                                    <case value="1">PT950</case>
                                                </switch>
                                            </th>
                                            <th>{$v['ct']}</th>
                                            <!--<th>{$v['size']}</th>
                                            <th>{$v['carve']}</th>-->
                                            <th>{$v['price']}</th>
                                            <th>{$v['num']}</th>
                                            <th>{$v['color']}</th>
                                            <th>{$v['clarity']}</th>
                                            <th>{$v['cut']}</th>
                                            <th>{$v['buffing']}</th>
                                            <th>{$v['symmetry']}</th>
                                            <th>{$v['fluorescence']}</th>
                                        </tr>
                                    </foreach>
                                </table>
                            </td>
                        </tr>
                        <tr>
                            <td class="hint">订单状态：</td>
                            <td class="content" style="color:#C57E5D">
                                <switch name="order_data['status']">
                                    <case value="0">未付款
                                        &nbsp;&nbsp;&nbsp;&nbsp;<a href="__URL__/topay/orderid/{$order_data['id']}">去付款</a>
                                        &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:cancelOrder({$order_data['id']})">取消订单</a>
                                    </case>
                                    <case value="1">已付款</case>
                                    <case value="2">已发货
                                        &nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:confirmReceipt({$order_data['id']})">确认收货</a>
                                    </case>
                                    <case value="3">已收货</case>
                                    <case value="4">无效订单</case>
                                </switch>
                            </td>
                        </tr>
                    </table>
                    <!--我的订单详情end-->
                </div>
                <!--右边的主要内容end-->
            </div>
        </div>
    </div>
</div>
<!--引入页面底部-->
<include file='Common/footer'/>
</body>
</html>


